class CommonStateObj {
    String createTime;
    String delFlag;
    String description;
    int id;
    String label;
    String remarks;
    int sort;
    int stateId;
    int tenantId;
    String type;
    String updateTime;
    String value;

    CommonStateObj({this.createTime, this.delFlag, this.description, this.id, this.label, this.remarks, this.sort, this.stateId, this.tenantId, this.type, this.updateTime, this.value});

    factory CommonStateObj.fromJson(Map<String, dynamic> json) {
        return CommonStateObj(
            createTime: json['createTime'],
            delFlag: json['delFlag'],
            description: json['description'],
            id: json['id'],
            label: json['label'],
            remarks: json['remarks'],
            sort: json['sort'],
            stateId: json['stateId'],
            tenantId: json['tenantId'],
            type: json['type'],
            updateTime: json['updateTime'],
            value: json['value'],
        );
    }

    Map<String, dynamic> toJson() {
        final Map<String, dynamic> data = new Map<String, dynamic>();
        data['createTime'] = this.createTime;
        data['delFlag'] = this.delFlag;
        data['description'] = this.description;
        data['id'] = this.id;
        data['label'] = this.label;
        data['remarks'] = this.remarks;
        data['sort'] = this.sort;
        data['stateId'] = this.stateId;
        data['tenantId'] = this.tenantId;
        data['type'] = this.type;
        data['updateTime'] = this.updateTime;
        data['value'] = this.value;
        return data;
    }
}